package com.itheima.demo4;

public class BoxDemo {
    public static void main(String[] args) {
        Customer c1 = new Customer();
        Producer p1 = new Producer();

        Thread t1 = new Thread(c1);
        Thread t2 = new Thread(p1);

        t1.start();
        t2.start();

    }
}
